package mystatic.src.LT.User;

import mystatic.src.LT.Book.BookList;
import mystatic.src.LT.IChoice.IChoice;

public abstract class User {
    public String name;
    IChoice ic[];

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract int menu();
    public void DoWork(int choice, BookList bookList){
        ic[choice].work(bookList);
    }
}
